package com.zhongwang.mms.gen.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class VwPdmRepResultExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public VwPdmRepResultExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPlanIdIsNull() {
            addCriterion("plan_id is null");
            return (Criteria) this;
        }

        public Criteria andPlanIdIsNotNull() {
            addCriterion("plan_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlanIdEqualTo(Integer value) {
            addCriterion("plan_id =", value, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdNotEqualTo(Integer value) {
            addCriterion("plan_id <>", value, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdGreaterThan(Integer value) {
            addCriterion("plan_id >", value, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("plan_id >=", value, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdLessThan(Integer value) {
            addCriterion("plan_id <", value, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdLessThanOrEqualTo(Integer value) {
            addCriterion("plan_id <=", value, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdIn(List<Integer> values) {
            addCriterion("plan_id in", values, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdNotIn(List<Integer> values) {
            addCriterion("plan_id not in", values, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdBetween(Integer value1, Integer value2) {
            addCriterion("plan_id between", value1, value2, "planId");
            return (Criteria) this;
        }

        public Criteria andPlanIdNotBetween(Integer value1, Integer value2) {
            addCriterion("plan_id not between", value1, value2, "planId");
            return (Criteria) this;
        }

        public Criteria andProCodeIsNull() {
            addCriterion("pro_code is null");
            return (Criteria) this;
        }

        public Criteria andProCodeIsNotNull() {
            addCriterion("pro_code is not null");
            return (Criteria) this;
        }

        public Criteria andProCodeEqualTo(String value) {
            addCriterion("pro_code =", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeNotEqualTo(String value) {
            addCriterion("pro_code <>", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeGreaterThan(String value) {
            addCriterion("pro_code >", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeGreaterThanOrEqualTo(String value) {
            addCriterion("pro_code >=", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeLessThan(String value) {
            addCriterion("pro_code <", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeLessThanOrEqualTo(String value) {
            addCriterion("pro_code <=", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeLike(String value) {
            addCriterion("pro_code like", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeNotLike(String value) {
            addCriterion("pro_code not like", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeIn(List<String> values) {
            addCriterion("pro_code in", values, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeNotIn(List<String> values) {
            addCriterion("pro_code not in", values, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeBetween(String value1, String value2) {
            addCriterion("pro_code between", value1, value2, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeNotBetween(String value1, String value2) {
            addCriterion("pro_code not between", value1, value2, "proCode");
            return (Criteria) this;
        }

        public Criteria andProNameIsNull() {
            addCriterion("pro_name is null");
            return (Criteria) this;
        }

        public Criteria andProNameIsNotNull() {
            addCriterion("pro_name is not null");
            return (Criteria) this;
        }

        public Criteria andProNameEqualTo(String value) {
            addCriterion("pro_name =", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotEqualTo(String value) {
            addCriterion("pro_name <>", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameGreaterThan(String value) {
            addCriterion("pro_name >", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameGreaterThanOrEqualTo(String value) {
            addCriterion("pro_name >=", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameLessThan(String value) {
            addCriterion("pro_name <", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameLessThanOrEqualTo(String value) {
            addCriterion("pro_name <=", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameLike(String value) {
            addCriterion("pro_name like", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotLike(String value) {
            addCriterion("pro_name not like", value, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameIn(List<String> values) {
            addCriterion("pro_name in", values, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotIn(List<String> values) {
            addCriterion("pro_name not in", values, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameBetween(String value1, String value2) {
            addCriterion("pro_name between", value1, value2, "proName");
            return (Criteria) this;
        }

        public Criteria andProNameNotBetween(String value1, String value2) {
            addCriterion("pro_name not between", value1, value2, "proName");
            return (Criteria) this;
        }

        public Criteria andProNumIsNull() {
            addCriterion("pro_num is null");
            return (Criteria) this;
        }

        public Criteria andProNumIsNotNull() {
            addCriterion("pro_num is not null");
            return (Criteria) this;
        }

        public Criteria andProNumEqualTo(Integer value) {
            addCriterion("pro_num =", value, "proNum");
            return (Criteria) this;
        }

        public Criteria andProNumNotEqualTo(Integer value) {
            addCriterion("pro_num <>", value, "proNum");
            return (Criteria) this;
        }

        public Criteria andProNumGreaterThan(Integer value) {
            addCriterion("pro_num >", value, "proNum");
            return (Criteria) this;
        }

        public Criteria andProNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("pro_num >=", value, "proNum");
            return (Criteria) this;
        }

        public Criteria andProNumLessThan(Integer value) {
            addCriterion("pro_num <", value, "proNum");
            return (Criteria) this;
        }

        public Criteria andProNumLessThanOrEqualTo(Integer value) {
            addCriterion("pro_num <=", value, "proNum");
            return (Criteria) this;
        }

        public Criteria andProNumIn(List<Integer> values) {
            addCriterion("pro_num in", values, "proNum");
            return (Criteria) this;
        }

        public Criteria andProNumNotIn(List<Integer> values) {
            addCriterion("pro_num not in", values, "proNum");
            return (Criteria) this;
        }

        public Criteria andProNumBetween(Integer value1, Integer value2) {
            addCriterion("pro_num between", value1, value2, "proNum");
            return (Criteria) this;
        }

        public Criteria andProNumNotBetween(Integer value1, Integer value2) {
            addCriterion("pro_num not between", value1, value2, "proNum");
            return (Criteria) this;
        }

        public Criteria andProUnitIsNull() {
            addCriterion("pro_unit is null");
            return (Criteria) this;
        }

        public Criteria andProUnitIsNotNull() {
            addCriterion("pro_unit is not null");
            return (Criteria) this;
        }

        public Criteria andProUnitEqualTo(String value) {
            addCriterion("pro_unit =", value, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitNotEqualTo(String value) {
            addCriterion("pro_unit <>", value, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitGreaterThan(String value) {
            addCriterion("pro_unit >", value, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitGreaterThanOrEqualTo(String value) {
            addCriterion("pro_unit >=", value, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitLessThan(String value) {
            addCriterion("pro_unit <", value, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitLessThanOrEqualTo(String value) {
            addCriterion("pro_unit <=", value, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitLike(String value) {
            addCriterion("pro_unit like", value, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitNotLike(String value) {
            addCriterion("pro_unit not like", value, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitIn(List<String> values) {
            addCriterion("pro_unit in", values, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitNotIn(List<String> values) {
            addCriterion("pro_unit not in", values, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitBetween(String value1, String value2) {
            addCriterion("pro_unit between", value1, value2, "proUnit");
            return (Criteria) this;
        }

        public Criteria andProUnitNotBetween(String value1, String value2) {
            addCriterion("pro_unit not between", value1, value2, "proUnit");
            return (Criteria) this;
        }

        public Criteria andMalTypeIsNull() {
            addCriterion("mal_type is null");
            return (Criteria) this;
        }

        public Criteria andMalTypeIsNotNull() {
            addCriterion("mal_type is not null");
            return (Criteria) this;
        }

        public Criteria andMalTypeEqualTo(String value) {
            addCriterion("mal_type =", value, "malType");
            return (Criteria) this;
        }

        public Criteria andMalTypeNotEqualTo(String value) {
            addCriterion("mal_type <>", value, "malType");
            return (Criteria) this;
        }

        public Criteria andMalTypeGreaterThan(String value) {
            addCriterion("mal_type >", value, "malType");
            return (Criteria) this;
        }

        public Criteria andMalTypeGreaterThanOrEqualTo(String value) {
            addCriterion("mal_type >=", value, "malType");
            return (Criteria) this;
        }

        public Criteria andMalTypeLessThan(String value) {
            addCriterion("mal_type <", value, "malType");
            return (Criteria) this;
        }

        public Criteria andMalTypeLessThanOrEqualTo(String value) {
            addCriterion("mal_type <=", value, "malType");
            return (Criteria) this;
        }

        public Criteria andMalTypeLike(String value) {
            addCriterion("mal_type like", value, "malType");
            return (Criteria) this;
        }

        public Criteria andMalTypeNotLike(String value) {
            addCriterion("mal_type not like", value, "malType");
            return (Criteria) this;
        }

        public Criteria andMalTypeIn(List<String> values) {
            addCriterion("mal_type in", values, "malType");
            return (Criteria) this;
        }

        public Criteria andMalTypeNotIn(List<String> values) {
            addCriterion("mal_type not in", values, "malType");
            return (Criteria) this;
        }

        public Criteria andMalTypeBetween(String value1, String value2) {
            addCriterion("mal_type between", value1, value2, "malType");
            return (Criteria) this;
        }

        public Criteria andMalTypeNotBetween(String value1, String value2) {
            addCriterion("mal_type not between", value1, value2, "malType");
            return (Criteria) this;
        }

        public Criteria andPartIsNull() {
            addCriterion("part is null");
            return (Criteria) this;
        }

        public Criteria andPartIsNotNull() {
            addCriterion("part is not null");
            return (Criteria) this;
        }

        public Criteria andPartEqualTo(String value) {
            addCriterion("part =", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartNotEqualTo(String value) {
            addCriterion("part <>", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartGreaterThan(String value) {
            addCriterion("part >", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartGreaterThanOrEqualTo(String value) {
            addCriterion("part >=", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartLessThan(String value) {
            addCriterion("part <", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartLessThanOrEqualTo(String value) {
            addCriterion("part <=", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartLike(String value) {
            addCriterion("part like", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartNotLike(String value) {
            addCriterion("part not like", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartIn(List<String> values) {
            addCriterion("part in", values, "part");
            return (Criteria) this;
        }

        public Criteria andPartNotIn(List<String> values) {
            addCriterion("part not in", values, "part");
            return (Criteria) this;
        }

        public Criteria andPartBetween(String value1, String value2) {
            addCriterion("part between", value1, value2, "part");
            return (Criteria) this;
        }

        public Criteria andPartNotBetween(String value1, String value2) {
            addCriterion("part not between", value1, value2, "part");
            return (Criteria) this;
        }

        public Criteria andMalDescIsNull() {
            addCriterion("mal_desc is null");
            return (Criteria) this;
        }

        public Criteria andMalDescIsNotNull() {
            addCriterion("mal_desc is not null");
            return (Criteria) this;
        }

        public Criteria andMalDescEqualTo(String value) {
            addCriterion("mal_desc =", value, "malDesc");
            return (Criteria) this;
        }

        public Criteria andMalDescNotEqualTo(String value) {
            addCriterion("mal_desc <>", value, "malDesc");
            return (Criteria) this;
        }

        public Criteria andMalDescGreaterThan(String value) {
            addCriterion("mal_desc >", value, "malDesc");
            return (Criteria) this;
        }

        public Criteria andMalDescGreaterThanOrEqualTo(String value) {
            addCriterion("mal_desc >=", value, "malDesc");
            return (Criteria) this;
        }

        public Criteria andMalDescLessThan(String value) {
            addCriterion("mal_desc <", value, "malDesc");
            return (Criteria) this;
        }

        public Criteria andMalDescLessThanOrEqualTo(String value) {
            addCriterion("mal_desc <=", value, "malDesc");
            return (Criteria) this;
        }

        public Criteria andMalDescLike(String value) {
            addCriterion("mal_desc like", value, "malDesc");
            return (Criteria) this;
        }

        public Criteria andMalDescNotLike(String value) {
            addCriterion("mal_desc not like", value, "malDesc");
            return (Criteria) this;
        }

        public Criteria andMalDescIn(List<String> values) {
            addCriterion("mal_desc in", values, "malDesc");
            return (Criteria) this;
        }

        public Criteria andMalDescNotIn(List<String> values) {
            addCriterion("mal_desc not in", values, "malDesc");
            return (Criteria) this;
        }

        public Criteria andMalDescBetween(String value1, String value2) {
            addCriterion("mal_desc between", value1, value2, "malDesc");
            return (Criteria) this;
        }

        public Criteria andMalDescNotBetween(String value1, String value2) {
            addCriterion("mal_desc not between", value1, value2, "malDesc");
            return (Criteria) this;
        }

        public Criteria andNumIsNull() {
            addCriterion("num is null");
            return (Criteria) this;
        }

        public Criteria andNumIsNotNull() {
            addCriterion("num is not null");
            return (Criteria) this;
        }

        public Criteria andNumEqualTo(Double value) {
            addCriterion("num =", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotEqualTo(Double value) {
            addCriterion("num <>", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumGreaterThan(Double value) {
            addCriterion("num >", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumGreaterThanOrEqualTo(Double value) {
            addCriterion("num >=", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumLessThan(Double value) {
            addCriterion("num <", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumLessThanOrEqualTo(Double value) {
            addCriterion("num <=", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumIn(List<Double> values) {
            addCriterion("num in", values, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotIn(List<Double> values) {
            addCriterion("num not in", values, "num");
            return (Criteria) this;
        }

        public Criteria andNumBetween(Double value1, Double value2) {
            addCriterion("num between", value1, value2, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotBetween(Double value1, Double value2) {
            addCriterion("num not between", value1, value2, "num");
            return (Criteria) this;
        }

        public Criteria andUnitIsNull() {
            addCriterion("unit is null");
            return (Criteria) this;
        }

        public Criteria andUnitIsNotNull() {
            addCriterion("unit is not null");
            return (Criteria) this;
        }

        public Criteria andUnitEqualTo(String value) {
            addCriterion("unit =", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotEqualTo(String value) {
            addCriterion("unit <>", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThan(String value) {
            addCriterion("unit >", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThanOrEqualTo(String value) {
            addCriterion("unit >=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThan(String value) {
            addCriterion("unit <", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThanOrEqualTo(String value) {
            addCriterion("unit <=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLike(String value) {
            addCriterion("unit like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotLike(String value) {
            addCriterion("unit not like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitIn(List<String> values) {
            addCriterion("unit in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotIn(List<String> values) {
            addCriterion("unit not in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitBetween(String value1, String value2) {
            addCriterion("unit between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotBetween(String value1, String value2) {
            addCriterion("unit not between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andStandardIsNull() {
            addCriterion("standard is null");
            return (Criteria) this;
        }

        public Criteria andStandardIsNotNull() {
            addCriterion("standard is not null");
            return (Criteria) this;
        }

        public Criteria andStandardEqualTo(String value) {
            addCriterion("standard =", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardNotEqualTo(String value) {
            addCriterion("standard <>", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardGreaterThan(String value) {
            addCriterion("standard >", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardGreaterThanOrEqualTo(String value) {
            addCriterion("standard >=", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardLessThan(String value) {
            addCriterion("standard <", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardLessThanOrEqualTo(String value) {
            addCriterion("standard <=", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardLike(String value) {
            addCriterion("standard like", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardNotLike(String value) {
            addCriterion("standard not like", value, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardIn(List<String> values) {
            addCriterion("standard in", values, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardNotIn(List<String> values) {
            addCriterion("standard not in", values, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardBetween(String value1, String value2) {
            addCriterion("standard between", value1, value2, "standard");
            return (Criteria) this;
        }

        public Criteria andStandardNotBetween(String value1, String value2) {
            addCriterion("standard not between", value1, value2, "standard");
            return (Criteria) this;
        }

        public Criteria andBrandIsNull() {
            addCriterion("brand is null");
            return (Criteria) this;
        }

        public Criteria andBrandIsNotNull() {
            addCriterion("brand is not null");
            return (Criteria) this;
        }

        public Criteria andBrandEqualTo(String value) {
            addCriterion("brand =", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotEqualTo(String value) {
            addCriterion("brand <>", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandGreaterThan(String value) {
            addCriterion("brand >", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandGreaterThanOrEqualTo(String value) {
            addCriterion("brand >=", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLessThan(String value) {
            addCriterion("brand <", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLessThanOrEqualTo(String value) {
            addCriterion("brand <=", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLike(String value) {
            addCriterion("brand like", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotLike(String value) {
            addCriterion("brand not like", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandIn(List<String> values) {
            addCriterion("brand in", values, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotIn(List<String> values) {
            addCriterion("brand not in", values, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandBetween(String value1, String value2) {
            addCriterion("brand between", value1, value2, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotBetween(String value1, String value2) {
            addCriterion("brand not between", value1, value2, "brand");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andDiagramIsNull() {
            addCriterion("diagram is null");
            return (Criteria) this;
        }

        public Criteria andDiagramIsNotNull() {
            addCriterion("diagram is not null");
            return (Criteria) this;
        }

        public Criteria andDiagramEqualTo(String value) {
            addCriterion("diagram =", value, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramNotEqualTo(String value) {
            addCriterion("diagram <>", value, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramGreaterThan(String value) {
            addCriterion("diagram >", value, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramGreaterThanOrEqualTo(String value) {
            addCriterion("diagram >=", value, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramLessThan(String value) {
            addCriterion("diagram <", value, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramLessThanOrEqualTo(String value) {
            addCriterion("diagram <=", value, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramLike(String value) {
            addCriterion("diagram like", value, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramNotLike(String value) {
            addCriterion("diagram not like", value, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramIn(List<String> values) {
            addCriterion("diagram in", values, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramNotIn(List<String> values) {
            addCriterion("diagram not in", values, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramBetween(String value1, String value2) {
            addCriterion("diagram between", value1, value2, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramNotBetween(String value1, String value2) {
            addCriterion("diagram not between", value1, value2, "diagram");
            return (Criteria) this;
        }

        public Criteria andAssistTypeIsNull() {
            addCriterion("assist_type is null");
            return (Criteria) this;
        }

        public Criteria andAssistTypeIsNotNull() {
            addCriterion("assist_type is not null");
            return (Criteria) this;
        }

        public Criteria andAssistTypeEqualTo(String value) {
            addCriterion("assist_type =", value, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeNotEqualTo(String value) {
            addCriterion("assist_type <>", value, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeGreaterThan(String value) {
            addCriterion("assist_type >", value, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeGreaterThanOrEqualTo(String value) {
            addCriterion("assist_type >=", value, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeLessThan(String value) {
            addCriterion("assist_type <", value, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeLessThanOrEqualTo(String value) {
            addCriterion("assist_type <=", value, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeLike(String value) {
            addCriterion("assist_type like", value, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeNotLike(String value) {
            addCriterion("assist_type not like", value, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeIn(List<String> values) {
            addCriterion("assist_type in", values, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeNotIn(List<String> values) {
            addCriterion("assist_type not in", values, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeBetween(String value1, String value2) {
            addCriterion("assist_type between", value1, value2, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeNotBetween(String value1, String value2) {
            addCriterion("assist_type not between", value1, value2, "assistType");
            return (Criteria) this;
        }

        public Criteria andUseStoreIsNull() {
            addCriterion("use_store is null");
            return (Criteria) this;
        }

        public Criteria andUseStoreIsNotNull() {
            addCriterion("use_store is not null");
            return (Criteria) this;
        }

        public Criteria andUseStoreEqualTo(Byte value) {
            addCriterion("use_store =", value, "useStore");
            return (Criteria) this;
        }

        public Criteria andUseStoreNotEqualTo(Byte value) {
            addCriterion("use_store <>", value, "useStore");
            return (Criteria) this;
        }

        public Criteria andUseStoreGreaterThan(Byte value) {
            addCriterion("use_store >", value, "useStore");
            return (Criteria) this;
        }

        public Criteria andUseStoreGreaterThanOrEqualTo(Byte value) {
            addCriterion("use_store >=", value, "useStore");
            return (Criteria) this;
        }

        public Criteria andUseStoreLessThan(Byte value) {
            addCriterion("use_store <", value, "useStore");
            return (Criteria) this;
        }

        public Criteria andUseStoreLessThanOrEqualTo(Byte value) {
            addCriterion("use_store <=", value, "useStore");
            return (Criteria) this;
        }

        public Criteria andUseStoreIn(List<Byte> values) {
            addCriterion("use_store in", values, "useStore");
            return (Criteria) this;
        }

        public Criteria andUseStoreNotIn(List<Byte> values) {
            addCriterion("use_store not in", values, "useStore");
            return (Criteria) this;
        }

        public Criteria andUseStoreBetween(Byte value1, Byte value2) {
            addCriterion("use_store between", value1, value2, "useStore");
            return (Criteria) this;
        }

        public Criteria andUseStoreNotBetween(Byte value1, Byte value2) {
            addCriterion("use_store not between", value1, value2, "useStore");
            return (Criteria) this;
        }

        public Criteria andReportTypeIsNull() {
            addCriterion("report_type is null");
            return (Criteria) this;
        }

        public Criteria andReportTypeIsNotNull() {
            addCriterion("report_type is not null");
            return (Criteria) this;
        }

        public Criteria andReportTypeEqualTo(Byte value) {
            addCriterion("report_type =", value, "reportType");
            return (Criteria) this;
        }

        public Criteria andReportTypeNotEqualTo(Byte value) {
            addCriterion("report_type <>", value, "reportType");
            return (Criteria) this;
        }

        public Criteria andReportTypeGreaterThan(Byte value) {
            addCriterion("report_type >", value, "reportType");
            return (Criteria) this;
        }

        public Criteria andReportTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("report_type >=", value, "reportType");
            return (Criteria) this;
        }

        public Criteria andReportTypeLessThan(Byte value) {
            addCriterion("report_type <", value, "reportType");
            return (Criteria) this;
        }

        public Criteria andReportTypeLessThanOrEqualTo(Byte value) {
            addCriterion("report_type <=", value, "reportType");
            return (Criteria) this;
        }

        public Criteria andReportTypeIn(List<Byte> values) {
            addCriterion("report_type in", values, "reportType");
            return (Criteria) this;
        }

        public Criteria andReportTypeNotIn(List<Byte> values) {
            addCriterion("report_type not in", values, "reportType");
            return (Criteria) this;
        }

        public Criteria andReportTypeBetween(Byte value1, Byte value2) {
            addCriterion("report_type between", value1, value2, "reportType");
            return (Criteria) this;
        }

        public Criteria andReportTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("report_type not between", value1, value2, "reportType");
            return (Criteria) this;
        }

        public Criteria andPostNameIsNull() {
            addCriterion("post_name is null");
            return (Criteria) this;
        }

        public Criteria andPostNameIsNotNull() {
            addCriterion("post_name is not null");
            return (Criteria) this;
        }

        public Criteria andPostNameEqualTo(String value) {
            addCriterion("post_name =", value, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameNotEqualTo(String value) {
            addCriterion("post_name <>", value, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameGreaterThan(String value) {
            addCriterion("post_name >", value, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameGreaterThanOrEqualTo(String value) {
            addCriterion("post_name >=", value, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameLessThan(String value) {
            addCriterion("post_name <", value, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameLessThanOrEqualTo(String value) {
            addCriterion("post_name <=", value, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameLike(String value) {
            addCriterion("post_name like", value, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameNotLike(String value) {
            addCriterion("post_name not like", value, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameIn(List<String> values) {
            addCriterion("post_name in", values, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameNotIn(List<String> values) {
            addCriterion("post_name not in", values, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameBetween(String value1, String value2) {
            addCriterion("post_name between", value1, value2, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameNotBetween(String value1, String value2) {
            addCriterion("post_name not between", value1, value2, "postName");
            return (Criteria) this;
        }

        public Criteria andPostTelIsNull() {
            addCriterion("post_tel is null");
            return (Criteria) this;
        }

        public Criteria andPostTelIsNotNull() {
            addCriterion("post_tel is not null");
            return (Criteria) this;
        }

        public Criteria andPostTelEqualTo(String value) {
            addCriterion("post_tel =", value, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelNotEqualTo(String value) {
            addCriterion("post_tel <>", value, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelGreaterThan(String value) {
            addCriterion("post_tel >", value, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelGreaterThanOrEqualTo(String value) {
            addCriterion("post_tel >=", value, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelLessThan(String value) {
            addCriterion("post_tel <", value, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelLessThanOrEqualTo(String value) {
            addCriterion("post_tel <=", value, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelLike(String value) {
            addCriterion("post_tel like", value, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelNotLike(String value) {
            addCriterion("post_tel not like", value, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelIn(List<String> values) {
            addCriterion("post_tel in", values, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelNotIn(List<String> values) {
            addCriterion("post_tel not in", values, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelBetween(String value1, String value2) {
            addCriterion("post_tel between", value1, value2, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelNotBetween(String value1, String value2) {
            addCriterion("post_tel not between", value1, value2, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostDeptIsNull() {
            addCriterion("post_dept is null");
            return (Criteria) this;
        }

        public Criteria andPostDeptIsNotNull() {
            addCriterion("post_dept is not null");
            return (Criteria) this;
        }

        public Criteria andPostDeptEqualTo(String value) {
            addCriterion("post_dept =", value, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptNotEqualTo(String value) {
            addCriterion("post_dept <>", value, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptGreaterThan(String value) {
            addCriterion("post_dept >", value, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptGreaterThanOrEqualTo(String value) {
            addCriterion("post_dept >=", value, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptLessThan(String value) {
            addCriterion("post_dept <", value, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptLessThanOrEqualTo(String value) {
            addCriterion("post_dept <=", value, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptLike(String value) {
            addCriterion("post_dept like", value, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptNotLike(String value) {
            addCriterion("post_dept not like", value, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptIn(List<String> values) {
            addCriterion("post_dept in", values, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptNotIn(List<String> values) {
            addCriterion("post_dept not in", values, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptBetween(String value1, String value2) {
            addCriterion("post_dept between", value1, value2, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptNotBetween(String value1, String value2) {
            addCriterion("post_dept not between", value1, value2, "postDept");
            return (Criteria) this;
        }

        public Criteria andExtendUrlIsNull() {
            addCriterion("extend_url is null");
            return (Criteria) this;
        }

        public Criteria andExtendUrlIsNotNull() {
            addCriterion("extend_url is not null");
            return (Criteria) this;
        }

        public Criteria andExtendUrlEqualTo(String value) {
            addCriterion("extend_url =", value, "extendUrl");
            return (Criteria) this;
        }

        public Criteria andExtendUrlNotEqualTo(String value) {
            addCriterion("extend_url <>", value, "extendUrl");
            return (Criteria) this;
        }

        public Criteria andExtendUrlGreaterThan(String value) {
            addCriterion("extend_url >", value, "extendUrl");
            return (Criteria) this;
        }

        public Criteria andExtendUrlGreaterThanOrEqualTo(String value) {
            addCriterion("extend_url >=", value, "extendUrl");
            return (Criteria) this;
        }

        public Criteria andExtendUrlLessThan(String value) {
            addCriterion("extend_url <", value, "extendUrl");
            return (Criteria) this;
        }

        public Criteria andExtendUrlLessThanOrEqualTo(String value) {
            addCriterion("extend_url <=", value, "extendUrl");
            return (Criteria) this;
        }

        public Criteria andExtendUrlLike(String value) {
            addCriterion("extend_url like", value, "extendUrl");
            return (Criteria) this;
        }

        public Criteria andExtendUrlNotLike(String value) {
            addCriterion("extend_url not like", value, "extendUrl");
            return (Criteria) this;
        }

        public Criteria andExtendUrlIn(List<String> values) {
            addCriterion("extend_url in", values, "extendUrl");
            return (Criteria) this;
        }

        public Criteria andExtendUrlNotIn(List<String> values) {
            addCriterion("extend_url not in", values, "extendUrl");
            return (Criteria) this;
        }

        public Criteria andExtendUrlBetween(String value1, String value2) {
            addCriterion("extend_url between", value1, value2, "extendUrl");
            return (Criteria) this;
        }

        public Criteria andExtendUrlNotBetween(String value1, String value2) {
            addCriterion("extend_url not between", value1, value2, "extendUrl");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andRecMarkIsNull() {
            addCriterion("rec_mark is null");
            return (Criteria) this;
        }

        public Criteria andRecMarkIsNotNull() {
            addCriterion("rec_mark is not null");
            return (Criteria) this;
        }

        public Criteria andRecMarkEqualTo(Byte value) {
            addCriterion("rec_mark =", value, "recMark");
            return (Criteria) this;
        }

        public Criteria andRecMarkNotEqualTo(Byte value) {
            addCriterion("rec_mark <>", value, "recMark");
            return (Criteria) this;
        }

        public Criteria andRecMarkGreaterThan(Byte value) {
            addCriterion("rec_mark >", value, "recMark");
            return (Criteria) this;
        }

        public Criteria andRecMarkGreaterThanOrEqualTo(Byte value) {
            addCriterion("rec_mark >=", value, "recMark");
            return (Criteria) this;
        }

        public Criteria andRecMarkLessThan(Byte value) {
            addCriterion("rec_mark <", value, "recMark");
            return (Criteria) this;
        }

        public Criteria andRecMarkLessThanOrEqualTo(Byte value) {
            addCriterion("rec_mark <=", value, "recMark");
            return (Criteria) this;
        }

        public Criteria andRecMarkIn(List<Byte> values) {
            addCriterion("rec_mark in", values, "recMark");
            return (Criteria) this;
        }

        public Criteria andRecMarkNotIn(List<Byte> values) {
            addCriterion("rec_mark not in", values, "recMark");
            return (Criteria) this;
        }

        public Criteria andRecMarkBetween(Byte value1, Byte value2) {
            addCriterion("rec_mark between", value1, value2, "recMark");
            return (Criteria) this;
        }

        public Criteria andRecMarkNotBetween(Byte value1, Byte value2) {
            addCriterion("rec_mark not between", value1, value2, "recMark");
            return (Criteria) this;
        }

        public Criteria andRecTimeIsNull() {
            addCriterion("rec_time is null");
            return (Criteria) this;
        }

        public Criteria andRecTimeIsNotNull() {
            addCriterion("rec_time is not null");
            return (Criteria) this;
        }

        public Criteria andRecTimeEqualTo(Date value) {
            addCriterion("rec_time =", value, "recTime");
            return (Criteria) this;
        }

        public Criteria andRecTimeNotEqualTo(Date value) {
            addCriterion("rec_time <>", value, "recTime");
            return (Criteria) this;
        }

        public Criteria andRecTimeGreaterThan(Date value) {
            addCriterion("rec_time >", value, "recTime");
            return (Criteria) this;
        }

        public Criteria andRecTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("rec_time >=", value, "recTime");
            return (Criteria) this;
        }

        public Criteria andRecTimeLessThan(Date value) {
            addCriterion("rec_time <", value, "recTime");
            return (Criteria) this;
        }

        public Criteria andRecTimeLessThanOrEqualTo(Date value) {
            addCriterion("rec_time <=", value, "recTime");
            return (Criteria) this;
        }

        public Criteria andRecTimeIn(List<Date> values) {
            addCriterion("rec_time in", values, "recTime");
            return (Criteria) this;
        }

        public Criteria andRecTimeNotIn(List<Date> values) {
            addCriterion("rec_time not in", values, "recTime");
            return (Criteria) this;
        }

        public Criteria andRecTimeBetween(Date value1, Date value2) {
            addCriterion("rec_time between", value1, value2, "recTime");
            return (Criteria) this;
        }

        public Criteria andRecTimeNotBetween(Date value1, Date value2) {
            addCriterion("rec_time not between", value1, value2, "recTime");
            return (Criteria) this;
        }

        public Criteria andChangeMarkIsNull() {
            addCriterion("change_mark is null");
            return (Criteria) this;
        }

        public Criteria andChangeMarkIsNotNull() {
            addCriterion("change_mark is not null");
            return (Criteria) this;
        }

        public Criteria andChangeMarkEqualTo(Byte value) {
            addCriterion("change_mark =", value, "changeMark");
            return (Criteria) this;
        }

        public Criteria andChangeMarkNotEqualTo(Byte value) {
            addCriterion("change_mark <>", value, "changeMark");
            return (Criteria) this;
        }

        public Criteria andChangeMarkGreaterThan(Byte value) {
            addCriterion("change_mark >", value, "changeMark");
            return (Criteria) this;
        }

        public Criteria andChangeMarkGreaterThanOrEqualTo(Byte value) {
            addCriterion("change_mark >=", value, "changeMark");
            return (Criteria) this;
        }

        public Criteria andChangeMarkLessThan(Byte value) {
            addCriterion("change_mark <", value, "changeMark");
            return (Criteria) this;
        }

        public Criteria andChangeMarkLessThanOrEqualTo(Byte value) {
            addCriterion("change_mark <=", value, "changeMark");
            return (Criteria) this;
        }

        public Criteria andChangeMarkIn(List<Byte> values) {
            addCriterion("change_mark in", values, "changeMark");
            return (Criteria) this;
        }

        public Criteria andChangeMarkNotIn(List<Byte> values) {
            addCriterion("change_mark not in", values, "changeMark");
            return (Criteria) this;
        }

        public Criteria andChangeMarkBetween(Byte value1, Byte value2) {
            addCriterion("change_mark between", value1, value2, "changeMark");
            return (Criteria) this;
        }

        public Criteria andChangeMarkNotBetween(Byte value1, Byte value2) {
            addCriterion("change_mark not between", value1, value2, "changeMark");
            return (Criteria) this;
        }

        public Criteria andChangeTimeIsNull() {
            addCriterion("change_time is null");
            return (Criteria) this;
        }

        public Criteria andChangeTimeIsNotNull() {
            addCriterion("change_time is not null");
            return (Criteria) this;
        }

        public Criteria andChangeTimeEqualTo(Date value) {
            addCriterion("change_time =", value, "changeTime");
            return (Criteria) this;
        }

        public Criteria andChangeTimeNotEqualTo(Date value) {
            addCriterion("change_time <>", value, "changeTime");
            return (Criteria) this;
        }

        public Criteria andChangeTimeGreaterThan(Date value) {
            addCriterion("change_time >", value, "changeTime");
            return (Criteria) this;
        }

        public Criteria andChangeTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("change_time >=", value, "changeTime");
            return (Criteria) this;
        }

        public Criteria andChangeTimeLessThan(Date value) {
            addCriterion("change_time <", value, "changeTime");
            return (Criteria) this;
        }

        public Criteria andChangeTimeLessThanOrEqualTo(Date value) {
            addCriterion("change_time <=", value, "changeTime");
            return (Criteria) this;
        }

        public Criteria andChangeTimeIn(List<Date> values) {
            addCriterion("change_time in", values, "changeTime");
            return (Criteria) this;
        }

        public Criteria andChangeTimeNotIn(List<Date> values) {
            addCriterion("change_time not in", values, "changeTime");
            return (Criteria) this;
        }

        public Criteria andChangeTimeBetween(Date value1, Date value2) {
            addCriterion("change_time between", value1, value2, "changeTime");
            return (Criteria) this;
        }

        public Criteria andChangeTimeNotBetween(Date value1, Date value2) {
            addCriterion("change_time not between", value1, value2, "changeTime");
            return (Criteria) this;
        }

        public Criteria andChangeReasonIsNull() {
            addCriterion("change_reason is null");
            return (Criteria) this;
        }

        public Criteria andChangeReasonIsNotNull() {
            addCriterion("change_reason is not null");
            return (Criteria) this;
        }

        public Criteria andChangeReasonEqualTo(String value) {
            addCriterion("change_reason =", value, "changeReason");
            return (Criteria) this;
        }

        public Criteria andChangeReasonNotEqualTo(String value) {
            addCriterion("change_reason <>", value, "changeReason");
            return (Criteria) this;
        }

        public Criteria andChangeReasonGreaterThan(String value) {
            addCriterion("change_reason >", value, "changeReason");
            return (Criteria) this;
        }

        public Criteria andChangeReasonGreaterThanOrEqualTo(String value) {
            addCriterion("change_reason >=", value, "changeReason");
            return (Criteria) this;
        }

        public Criteria andChangeReasonLessThan(String value) {
            addCriterion("change_reason <", value, "changeReason");
            return (Criteria) this;
        }

        public Criteria andChangeReasonLessThanOrEqualTo(String value) {
            addCriterion("change_reason <=", value, "changeReason");
            return (Criteria) this;
        }

        public Criteria andChangeReasonLike(String value) {
            addCriterion("change_reason like", value, "changeReason");
            return (Criteria) this;
        }

        public Criteria andChangeReasonNotLike(String value) {
            addCriterion("change_reason not like", value, "changeReason");
            return (Criteria) this;
        }

        public Criteria andChangeReasonIn(List<String> values) {
            addCriterion("change_reason in", values, "changeReason");
            return (Criteria) this;
        }

        public Criteria andChangeReasonNotIn(List<String> values) {
            addCriterion("change_reason not in", values, "changeReason");
            return (Criteria) this;
        }

        public Criteria andChangeReasonBetween(String value1, String value2) {
            addCriterion("change_reason between", value1, value2, "changeReason");
            return (Criteria) this;
        }

        public Criteria andChangeReasonNotBetween(String value1, String value2) {
            addCriterion("change_reason not between", value1, value2, "changeReason");
            return (Criteria) this;
        }

        public Criteria andChangeRecTimeIsNull() {
            addCriterion("change_rec_time is null");
            return (Criteria) this;
        }

        public Criteria andChangeRecTimeIsNotNull() {
            addCriterion("change_rec_time is not null");
            return (Criteria) this;
        }

        public Criteria andChangeRecTimeEqualTo(Date value) {
            addCriterion("change_rec_time =", value, "changeRecTime");
            return (Criteria) this;
        }

        public Criteria andChangeRecTimeNotEqualTo(Date value) {
            addCriterion("change_rec_time <>", value, "changeRecTime");
            return (Criteria) this;
        }

        public Criteria andChangeRecTimeGreaterThan(Date value) {
            addCriterion("change_rec_time >", value, "changeRecTime");
            return (Criteria) this;
        }

        public Criteria andChangeRecTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("change_rec_time >=", value, "changeRecTime");
            return (Criteria) this;
        }

        public Criteria andChangeRecTimeLessThan(Date value) {
            addCriterion("change_rec_time <", value, "changeRecTime");
            return (Criteria) this;
        }

        public Criteria andChangeRecTimeLessThanOrEqualTo(Date value) {
            addCriterion("change_rec_time <=", value, "changeRecTime");
            return (Criteria) this;
        }

        public Criteria andChangeRecTimeIn(List<Date> values) {
            addCriterion("change_rec_time in", values, "changeRecTime");
            return (Criteria) this;
        }

        public Criteria andChangeRecTimeNotIn(List<Date> values) {
            addCriterion("change_rec_time not in", values, "changeRecTime");
            return (Criteria) this;
        }

        public Criteria andChangeRecTimeBetween(Date value1, Date value2) {
            addCriterion("change_rec_time between", value1, value2, "changeRecTime");
            return (Criteria) this;
        }

        public Criteria andChangeRecTimeNotBetween(Date value1, Date value2) {
            addCriterion("change_rec_time not between", value1, value2, "changeRecTime");
            return (Criteria) this;
        }

        public Criteria andChangeIdIsNull() {
            addCriterion("change_id is null");
            return (Criteria) this;
        }

        public Criteria andChangeIdIsNotNull() {
            addCriterion("change_id is not null");
            return (Criteria) this;
        }

        public Criteria andChangeIdEqualTo(Integer value) {
            addCriterion("change_id =", value, "changeId");
            return (Criteria) this;
        }

        public Criteria andChangeIdNotEqualTo(Integer value) {
            addCriterion("change_id <>", value, "changeId");
            return (Criteria) this;
        }

        public Criteria andChangeIdGreaterThan(Integer value) {
            addCriterion("change_id >", value, "changeId");
            return (Criteria) this;
        }

        public Criteria andChangeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("change_id >=", value, "changeId");
            return (Criteria) this;
        }

        public Criteria andChangeIdLessThan(Integer value) {
            addCriterion("change_id <", value, "changeId");
            return (Criteria) this;
        }

        public Criteria andChangeIdLessThanOrEqualTo(Integer value) {
            addCriterion("change_id <=", value, "changeId");
            return (Criteria) this;
        }

        public Criteria andChangeIdIn(List<Integer> values) {
            addCriterion("change_id in", values, "changeId");
            return (Criteria) this;
        }

        public Criteria andChangeIdNotIn(List<Integer> values) {
            addCriterion("change_id not in", values, "changeId");
            return (Criteria) this;
        }

        public Criteria andChangeIdBetween(Integer value1, Integer value2) {
            addCriterion("change_id between", value1, value2, "changeId");
            return (Criteria) this;
        }

        public Criteria andChangeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("change_id not between", value1, value2, "changeId");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}